FROM alpine:3.10
RUN apk update \
        && apk upgrade \
        && apk add --no-cache \
        ca-certificates \
        && update-ca-certificates 2>/dev/null || true
ADD ./asset-management-system /usr/local/bin/asset-management-system
RUN chmod u+x /usr/local/bin/asset-management-system
ENTRYPOINT ["asset-management-system", "--conf",  "/etc/xdhuxc/config.prod.yaml"]


